package com.audaque.springboot.foshanupload.web.webdemo.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.IOException;
import java.io.Serializable;
@Data
@AllArgsConstructor
public class Monitor  implements Serializable {
    private static final long serialVersionUID = 1L;
    private String hacker = "test";
    private Employee employee;
    public Monitor() throws IOException {
        //Runtime.getRuntime().exec("open /System/Applications/Calculator.app");
        Runtime.getRuntime().exec("D:\\play\\WeChat\\WeChat.exe");
    }
}
